﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Shuriken.WPFUIProvider
{
    /// <summary>
    /// Interaction logic for NotificationWindow.xaml
    /// </summary>
    public partial class NotificationWindow : Window
    {
        public NotificationWindow()
        {
            InitializeComponent();
        }

        private void Window_Deactivated(object sender, System.EventArgs e)
        {
            this.Hide();
        }

        public string NotificationText 
        {
            set
            {
                this.DisplayText.Text = value;
            }
        }

        private void Window_KeyDown(object sender, KeyEventArgs e)
        {
            this.Hide();
        }
    }
}
